package cn.kgc.pojo;

import java.io.Serializable;

/**
* 描述：管理员表
* @author 
* @date 2018/03/05
*/
public class Admin implements Serializable {

   /**管理员id*/
    private Integer id;
   /**管理员账号*/
    private String adminname;
   /**管理员密码*/
    private String password;
   /**问题*/
    private String question;
   /**答案*/
    private String answer;

    public Admin(){}
    
    public Admin(Integer id,String adminname,String password,String question,String answer){
        this.id = id;
        this.adminname = adminname;
        this.password = password;
        this.question = question;
        this.answer = answer;
    }

   /**获取管理员id属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置管理员id属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取管理员账号属性的值*/
    public String getAdminname() {
        return this.adminname;
    }
   /**设置管理员账号属性的值*/
    public void setAdminname(String adminname) {
        this.adminname = adminname;
    }
   /**获取管理员密码属性的值*/
    public String getPassword() {
        return this.password;
    }
   /**设置管理员密码属性的值*/
    public void setPassword(String password) {
        this.password = password;
    }
   /**获取问题属性的值*/
    public String getQuestion() {
        return this.question;
    }
   /**设置问题属性的值*/
    public void setQuestion(String question) {
        this.question = question;
    }
   /**获取答案属性的值*/
    public String getAnswer() {
        return this.answer;
    }
   /**设置答案属性的值*/
    public void setAnswer(String answer) {
        this.answer = answer;
    }
}
